aboutsummaryrefslogtreecommitdiff
path: root/src/app/web-series/[id]/page.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/web-series/[id]/page.jsx')
-rw-r--r--src/app/web-series/[id]/page.jsx76
1 files changed, 32 insertions, 44 deletions
diff --git a/src/app/web-series/[id]/page.jsx b/src/app/web-series/[id]/page.jsx
index f3922de..c947f5a 100644
--- a/src/app/web-series/[id]/page.jsx
+++ b/src/app/web-series/[id]/page.jsx
@@ -11,51 +11,39 @@ const SeriesInfoPage = async ({ params }) => {
const data = await SERIES_INFO(id);
return (
- <section
- style={{
- backgroundImage: `radial-gradient(gray 1px, transparent 1px)`,
- backgroundSize: "40px 40px",
- }}
- className="h-screen bg-white dark:bg-black"
- >
- <section className="to-white-400 absolute inset-0 bg-gradient-to-b from-transparent dark:to-black">
- <section className="m-auto w-full pt-20 lg:w-9/12">
- <SeriesVideoPlayer id={data.id} />
- <div className="flex items-center">
- <Image
- isBlurred
- shadow="lg"
- src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=https://image.tmdb.org/t/p/original${data.poster_path}`}
- width={180}
- height={300}
- alt="Anime Title Poster"
- className="m-2"
- ></Image>
- <div className="mx-5">
- <h4 className={`text-2xl`}>
- <strong>{data.name}</strong>
- </h4>
- <div className="mt-1">
- {data.genres &&
- data.genres.map((item, index) => (
- <Chip
- key={index}
- color="warning"
- variant="faded"
- className="mb-1 mr-1"
- >
- <p className="text-xs">
- {item.name}
- </p>
- </Chip>
- ))}
- </div>
- </div>
+ <section className="m-auto w-full pt-2 lg:w-9/12">
+ <SeriesVideoPlayer id={data.id} />
+ <div className="flex items-center">
+ <Image
+ isBlurred
+ shadow="md"
+ src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=https://image.tmdb.org/t/p/original${data.poster_path}`}
+ width={180}
+ height={300}
+ alt="Anime Title Poster"
+ className="m-2"
+ ></Image>
+ <div className="mx-5">
+ <h4 className={`text-2xl`}>
+ <strong>{data.name}</strong>
+ </h4>
+ <div className="mt-1">
+ {data.genres &&
+ data.genres.map((item, index) => (
+ <Chip
+ key={index}
+ color="warning"
+ variant="faded"
+ className="mb-1 mr-1"
+ >
+ <p className="text-xs">{item.name}</p>
+ </Chip>
+ ))}
</div>
- <SeriesDescriptionTabs data={data} />
- <Questions />
- </section>
- </section>
+ </div>
+ </div>
+ <SeriesDescriptionTabs data={data} />
+ <Questions />
</section>
);
};